package top.igotcha.edustatistics;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author Gotcha
 * @date 2021/8/1
 * @describe
 */
@EnableSwagger2
@SpringBootApplication
@ComponentScan(basePackages = {"top.igotcha"})
@EnableDiscoveryClient //nacos注册
@EnableFeignClients
@EnableScheduling //开启定时任务
public class StatisticsApplication {

    public static void main(String[] args) {
        SpringApplication.run(StatisticsApplication.class,args);
    }
}
